package dd.prog2.exercises.set03;

public class Parabel extends Function {
	protected double a;
	protected double b;
	protected double c;

	public Parabel(double a, double b, double c) {
		this.a = a;
		this.b = b;
		this.c = c;
	}

	@Override
	protected double map(double x) {
		return a * x * x + b * x + c;
	}

}
